package com.example.springstack.springboot.mongo.mongoTemplate.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author qiangfanghao
 * @date
 */
@Data
@Document(collection = User.CNAME)
public class User {

    public static final String CNAME = "user";

    @Id
    private String id;



}
